package wechat.start.wechatstart.entity;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by WuJiXian on 2020/12/5 12:12
 * {
 *       "type": "pic_photo_or_album",
 *       "name": "拍照或者相册发图",
 *       "key": "rselfmenu_1_1",
 *       "sub_button": [ ]
 *   },
 */
@Data
public class PicPhotoOrAlbum extends AbstractButton{

    private String key;
    private List sub_button = new ArrayList();
    private String type = "pic_photo_or_album";

    public PicPhotoOrAlbum(String name, String key) {
        super(name);
        this.key = key;
    }
}
